d825fb25a0a57574e7a61662d144e5b1993611f1,idea/src/org/jetbrains/jet/plugin/libraries/JetClsNavigationPolicy.java,JetClsNavigationPolicy,getNavigationElement,#ClsFieldImpl#,65
Before Change
@Override
@Nullable
public PsiElement getNavigationElement(@NotNull ClsFieldImpl clsField) {
return getJetDeclarationByClsElement(clsField);
}
@Nullable
After Change
@Override
@Nullable
public PsiElement getNavigationElement(@NotNull ClsFieldImpl clsField) {
JetDeclaration jetDeclaration = getJetDeclarationByClsElement(clsField);
if (jetDeclaration instanceof JetProperty) {
JetDeclaration sourceProperty = JetSourceNavigationHelper.getSourceProperty((JetProperty) jetDeclaration);
if (sourceProperty != null) {
return sourceProperty;
}
}
return jetDeclaration;
}
@Nullable